package org.aswing.colorchooser;

extern class PreviewColorIcon implements org.aswing.Icon {
	function new(p0 : Int, p1 : Int, ?p2 : Int) : Void;
	function getCurrentColor() : org.aswing.ASColor;
	function getDisplay(p0 : org.aswing.Component) : flash.display.DisplayObject;
	function getIconHeight(p0 : org.aswing.Component) : Int;
	function getIconWidth(p0 : org.aswing.Component) : Int;
	function getOrientation() : Int;
	function getPreviousColor() : org.aswing.ASColor;
	function setColor(p0 : org.aswing.ASColor) : Void;
	function setCurrentColor(p0 : org.aswing.ASColor) : Void;
	function setOrientation(p0 : Int) : Void;
	function setPreviousColor(p0 : org.aswing.ASColor) : Void;
	function updateIcon(p0 : org.aswing.Component, p1 : org.aswing.graphics.Graphics2D, p2 : Int, p3 : Int) : Void;
	static var HORIZONTAL : Int;
	static var VERTICAL : Int;
}
